<template>
  <div class="userlist">
    <div class="top111">
      <img @click="fanhui" src="../assets/总图标包含整个系统的/fanhui.png" />
      <span>个人信息</span>
      <img
        class="aaaa"
        src="../assets/总图标包含整个系统的/fanhuishouye.png"
        @click="fanhuish"
      />
    </div>
    <div class="box">
      <van-field
        input-align="right"
        v-model="value1"
        label="姓名"
        placeholder="请输入用户名"
      />
      <van-field
        input-align="right"
        v-model="value2"
        label="联系电话"
        placeholder="请输入用户名"
      />
    </div>
    <div class="box_b">
      <van-field
        input-align="right"
        v-model="value3"
        label="性别"
        placeholder="请输入用户名"
      />
      <van-field
        input-align="right"
        v-model="value4"
        label="年薪"
        placeholder="请输入用户名"
      />
      <van-field
        input-align="right"
        v-model="value5"
        label="月薪"
        placeholder="请输入用户名"
      />
      <van-field
        input-align="right"
        v-model="value6"
        label="个人简历"
        placeholder="请输入用户名"
      />
    </div>
  </div>
</template>
 
<script>
import { GetPUsweListApi } from "../request/aip";
export default {
  data() {
    return {
      value1: "",
      value2: "",
      value3: "",
      value4: "",
      value5: "",
      value6: "",
    };
  },
  created() {
    GetPUsweListApi().then((res) => {
      // console.log(res);
      this.value1 = res.data.name;
      this.value2 = res.data.phone;
      this.value3 = res.data.sex;
      this.value4 = res.data.year_salary;
      this.value5 = res.data.month_salary;
      this.value6 = res.data.remark;
    });
  },
  methods: {
    fanhui() {
      this.$router.go(-1);
    },
    fanhuish() {
      this.$router.push("/index");
    },
  },
};
</script>
 
<style lang = "less" scoped>
.userlist {
  width: 100vw;
  height: 100vh;
  background-color: #f5f5f5;
  overflow: hidden;
  .box {
    margin-top: 10px;
    margin-bottom: 10px;
  }
}
.top111 {
  background-color: #023293;
  display: flex;
  justify-content: space-between;
  color: #fff;
  align-items: center;
  padding: 10px;
  img {
    width: 10px;
  }
  .aaaa {
    width: 20px;
  }
}
</style>